<?php
if($access_control != "924y39c9vns8r73"){ header("location:../"); }
include_once "controle/venda.php";
?>
<h1>Venda</h1>
<!--
<a href='?pag=vendaSet' title='Nova Venda'><button class='botao'>Novo</button></a>
<br><br>
-->
<table class="tabela">
    <tr>
        <th>ID</th>
        <th>Data</th>
        <th>Cliente</th>
        <th>Valor</th>
        <th>Forma de Pagamento</th>
    </tr>
    <?=mostraVendas()?>
</table>